package com.salefinder.server.server.dao;

import org.hibernate.Session;

import com.salefinder.server.server.vo.Category;
import com.salefinder.server.server.vo.Product;

public class ProductDao extends BaseDao {

	public void createOrUpdateProduct(Product vo){
		this.createOrUpdate(vo);
	}
	
	public void deleteProduct(Product vo){
		this.delete(vo);
	}
	
	public void loadProduct(Product vo){
		this.load(this.getClass(), vo.getId());
	}
	
}
